﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using eCashDataLayer;

namespace eCashDatalayer
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IeCashDatalayer
    {
        [OperationContract]
        void RegisterUser(RegistrationModel RegistrationModel);

        [OperationContract]
        void RegisterUserTuckShop(TuckShopRegistrationModel TuckshopRegistrationModel);

        [OperationContract]
        int ConfirmRegistration(string _sGUID);

        [OperationContract]
        int CheckUserExistance(String _sUSERNAME);

        [OperationContract]
        RegistrationModel RecoverCredentials(RegistrationModel RegistrationModel);

        [OperationContract]
        UserModel AuthonticateUser(String _sUsername, String _sPassword);
         
        [OperationContract]
        int CheckEmailExistance(String _sEMAIL);
    }
      
}
